//************************************************ 
//  *Author：jxx
//  *QQ：283591387
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在q_overflow_voucher.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {},
		editFormOptions: [],
		searchFormFields: {"Voucher_sub":"","Goods_num":"","WHSE_no":"","AuditStatus":""},
		searchFormOptions: [{"title":"数量","field":"Goods_num","type":"decimal"},{"type":"group"},{"title":"单据编码","field":"Voucher_sub","type":"like"},{"key":"一级仓库","data":[],"title":"报溢机构","field":"WHSE_no","type":"select"},{"key":"audit","data":[],"title":"审核状态","field":"AuditStatus","type":"select"}],
		columns: [{field:'Voucher_sub',title:'单据编码',type:'string',link:true},
                       {field:'Goods_num',title:'数量',type:'float'},
                       {field:'WHSE_no',title:'报溢机构',type:'string',bind:{ key:'一级仓库',data:[]}},
                       {field:'Remark',title:'备注',type:'string'},
                       {field:'AuditStatus',title:'审核状态',type:'int',bind:{ key:'audit',data:[]}}],
		table: {
			key: 'Overflow_voucher',
			footer: "Foots",
			cnName: '报溢单',
			name: 'q_overflow_voucher',
			url: "/q_overflow_voucher/",
			sortName: "Voucher_sub"
		}
	}
}
